<template>
    <el-upload
      class="upload-file"
      drag
      action="https://jsonplaceholder.typicode.com/posts/"
      multiple>
      <i class="el-icon-upload"></i>
      <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
      <div class="el-upload__tip" slot="tip">只能上传excel文件，且不超过500kb</div>
    </el-upload>
</template>
<style scoped>
   ::v-deep .el-upload-dragger {
    width: 500px;
    height: 200px;
  }
</style>
